package dao;

import java.util.ArrayList;
import dto.UserDTO;

public interface EmployeeDAO
{
	public UserDTO findUser(int userID) throws DAOException;
	
	public boolean login(int userID, String password, String role) throws DAOException;

	public ArrayList<UserDTO> findAllUser() throws DAOException;

	public void insertUser(UserDTO user) throws DAOException;

	public void updateUser(UserDTO user) throws DAOException;

	public void deleteUser(UserDTO user) throws DAOException;
	
	public void updateUserLeaveDays(int userID,double Adays,double Mdays,double Cdays) throws DAOException;
	
	public void updateUserByAdmin(UserDTO user) throws DAOException;
	

}
